package com.cuitrip.business.order.model;

import java.io.Serializable;

/**
 * Created by ak on 5/9/16.
 */
public class CommentInfo implements Serializable {

    /*"serviceScore": "5",
            "serviceDate": "2016-02-26 00:00:00.0",
            "isAuto": "1",
            "travellerId": "66",
            "serviceName": "测试测试测试",
            "insiderId": "202",
            "content": "ak给了这个行程5星好评！",
            "extInfo": "",
            "rid": "117",
            "nick": "ak",
            "sid": "292",
            "oid": "2922016021811471566",
            "gmtCreated": "1457794800195",
            "status": "0",
            "type": "0",
            "headPic": "http://cuitrip-dev.oss-cn-hangzhou.aliyuncs.com/66_1460713533816.png",
            "gmtModified": "1457794800195"*/

    private String serviceScore;
    private String headPic;
    private String isAuto;
    private String content;
    private String nick;
    private String status;
    private String type;


    public String getServiceScore() {
        return serviceScore;
    }

    public void setServiceScore(String serviceScore) {
        this.serviceScore = serviceScore;
    }

    public String getHeadPic() {
        return headPic;
    }

    public void setHeadPic(String headPic) {
        this.headPic = headPic;
    }

    public String getIsAuto() {
        return isAuto;
    }

    public void setIsAuto(String isAuto) {
        this.isAuto = isAuto;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getNick() {
        return nick;
    }

    public void setNick(String nick) {
        this.nick = nick;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public int getCommentScore() {
        try {
            return Integer.valueOf(serviceScore);
        } catch (Exception e) {
            return -1;
        }
    }
}
